package com.lecyon.farm.common.enums;

import lombok.Getter;

/**
 * 用户组枚举类型
 *
 * @author Yao Zheng
 * @Date 2019/10/24 17:12
 */
public enum UserGroupDict {

    MASTER("systemMaster", "超级管理员"),
    ADMIN("administrator", "管理员"),
    USER("user", "普通用户"),
    SALES("sales", "销售"),
    PURCHASE("purchase", "采购"),
    WAREHOUSE("warehouse", "仓库管理员"),
    QA("qualityAssurance", "品质保障"),
    PE("processEngineer", "工艺工程"),
    PMC("productMaterialControl", "生产及物料控制"),
    PD("productionDepartment", "生产部");

    @Getter
    private String itemCode;

    @Getter
    private String itemName;

    UserGroupDict(String itemCode, String itemName) {
        this.itemCode = itemCode;
        this.itemName = itemName;
    }
}
